package com.ruoyi.housingresources.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import javax.validation.constraints.NotBlank;

/**
 * 房源管理对象 am_housing_resources
 * 
 * @author ruoyi
 * @date 2020-07-28
 */
public class AmHousingResources extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 房源表ID */
    private Long id;

    /** 房源编号 */
    private String housingResourcesCode;

    /** 所属部门*/
    private Long deptId;

    private String deptName;

    /** 所属楼宇 */
    private Long buildingId;

    @Excel(name = "所属楼宇" ,prompt = "请输入已经存在的楼宇全称")
    private String  buildingName;

    /** 所属项目 */
    @Excel(name = "所属项目" ,prompt = "请输入已经存在的项目全称")
    private String projectName;

    private String projectId;
    /** 面积 */
    @Excel(name = "面积" ,prompt = "请输入一个数字")
    private String area;

    /** 房源状态 */
    @Excel(name = "房源状态",dictType = "123",prompt = "请输入空置，已租，样板房三种房源状态中的一种，其他无效")
    private String status;

    /** 所在楼层 */
    @Excel(name = "所在楼层",prompt = "必填，此处请不要输入0")
    private Long floor;

    /** 预租单价 */
    @Excel(name = "预租单价",prompt = "请填写一个数字")
    private BigDecimal preLeasePrice;

    /** 装修 */
    @Excel(name = "装修",dictType = "zxcqxq",prompt = "请输入毛坯，简装，精装，豪华四种状态中的一种，其他无效")
    private String decorating;

    /** 房号 */
    @Excel(name = "房号")
    private String roomNum;

    /** 房源描述 */
    @Excel(name = "房源描述")
    private String description;

    /** 图片链接 */
    private String image;

    /** 删除:1正常0删除 */
    private Long del;

    /** 最后修改时间 */
    private Date modifiedTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setHousingResourcesCode(String housingResourcesCode) 
    {
        this.housingResourcesCode = housingResourcesCode;
    }

    public String getHousingResourcesCode() 
    {
        return housingResourcesCode;
    }
    public void setBuildingId(Long buildingId) 
    {
        this.buildingId = buildingId;
    }

    public Long getBuildingId()
    {
        return buildingId;
    }
    public void setArea(String area) 
    {
        this.area = area;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public String getArea()
    {
        return area;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getBuildingName() {
        return buildingName;
    }

    public void setBuildingName(String buildingName) {
        this.buildingName = buildingName;
    }

    public String getStatus()
    {
        return status;
    }
    public void setFloor(Long floor) 
    {
        this.floor = floor;
    }

    public Long getFloor() 
    {
        return floor;
    }
    public void setPreLeasePrice(BigDecimal preLeasePrice) 
    {
        this.preLeasePrice = preLeasePrice;
    }

    public BigDecimal getPreLeasePrice() 
    {
        return preLeasePrice;
    }
    public void setDecorating(String decorating) 
    {
        this.decorating = decorating;
    }

    public String getDecorating() 
    {
        return decorating;
    }
    public void setRoomNum(String roomNum) 
    {
        this.roomNum = roomNum;
    }

    public String getRoomNum() 
    {
        return roomNum;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getDescription()
    {
        return description;
    }
    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }
    public void setDel(Long del) 
    {
        this.del = del;
    }

    public Long getDel() 
    {
        return del;
    }
    public void setModifiedTime(Date modifiedTime) 
    {
        this.modifiedTime = modifiedTime;
    }

    public Date getModifiedTime() 
    {
        return modifiedTime;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("housingResourcesCode", getHousingResourcesCode())
            .append("buildingId", getBuildingId())
            .append("area", getArea())
            .append("status", getStatus())
            .append("floor", getFloor())
            .append("preLeasePrice", getPreLeasePrice())
            .append("decorating", getDecorating())
            .append("roomNum", getRoomNum())
            .append("description", getDescription())
            .append("image", getImage())
            .append("del", getDel())
            .append("createTime", getCreateTime())
            .append("modifiedTime", getModifiedTime())
            .toString();
    }
}
